import os

import pytest
from utils import send_email

if __name__=='__main__':
    pytest.main(['./case/test1.py','-s','--alluredir','./report','--clean-alluredir'])
    os.system('allure generate ./report -o ./report/html --clean')
    send_email("./report/html/index.html")